<script>
export default {
  onShareAppMessage(res) {
    return {
      title: '活动小程序'
    };
  },
  onShareTimeline() {
    return {
      title: '活动小程序'
      //分享朋友圈的参数
    };
  },
  mounted() {
    uni.showShareMenu({
      withShareTicket: true,
      menus: ['shareAppMessage', 'shareTimeline']
    });
  }
};
</script>

<style lang="scss">
/*每个页面公共css */
@import '@/uni_modules/uni-scss/index.scss';
/* #ifndef APP-NVUE */
@import '@/static/customicons.css';
// 设置整个项目的背景色
page {
  background-color: #fff;
}

/* #endif */
.example-info {
  font-size: 14px;
  color: #333;
  padding: 10px;
}
</style>
